Map for WinForms | ComponentOne
C1.Win.Map Namespace / MapCollectionBase<T> Class / CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from collection. (The array must have zero-based indexing).
The zero-based index in array at which copying begins.

In This Topic
    CopyTo Method (MapCollectionBase<T>)
    In This Topic
    Copies the elements of the collection to an System.Array, starting at a particular array index.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal array() As T, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       T[] array,
       int index
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from collection. (The array must have zero-based indexing).
    index
    The zero-based index in array at which copying begins.
    See Also